{% load future wenlincms_tags wlcore_tags report_tags %}

<div class="report-box hidetrbox">
    <h3 class="report-title">招标信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ ztb_objs|length }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table">
        <tr>
            <th width="80">发布时间</th>
            <th width="40">地区</th>
            <th width="300">标题、正文</th>
        </tr>
        {% for res in ztb_objs %}
            <tr class="hidetr">
                <td style="vertical-align: top;padding-top: 24px">{{ res.fbsj|elfbztbdate }}</td>
                <td style="vertical-align: top;padding-top: 24px">{{ res.dq }}</td>
                <td><h3>{{ res.bt }}</h3>
                    {% if res.gglx %}
                        公告类型: {{ res.gglx }}&nbsp;&nbsp;
                    {% endif %}
                    {% if res.dljg %}
                        代理机构: {{ res.dljg }}&nbsp;&nbsp;
                    {% endif %}
                    {% if res.cgr %}
                        <br/>采购人: {{ res.cgr }}&nbsp;&nbsp;
                    {% endif %}
                    {% if res.cgpm %}
                        采购品目: {{ res.cgpm }}&nbsp;&nbsp;
                    {% endif %}
                    <p>{{ res.zw|truncatechars:200|safe }}</p>
                </td>
            </tr>
        {% endfor %}
    </table>
</div>

<div class="report-box hidetrbox">
    <h3 class="report-title">招聘信息</h3>
    <span class="report-numallbox"><span class="report-numbox">{{ zp_objs|length }}</span>条</span>

    <div class="hidetr_btn" val="0">&or;&nbsp;显示全部</div>
    <table class="report-table">
        <tr>
            <th width="80">发布时间</th>
            <th width="120">职位</th>
            <th width="60">工作地点</th>
            <th width="60">学历要求</th>
            <th width="60">经验要求</th>
            <th width="80">待遇</th>
        </tr>
        {% for res in zp_objs %}
            <tr class="hidetr">
                <td>{{ res.posttime|elweizhi }}</td>
                <td>
                    {% if res.url and res.job_name %}
                        <a href="{{ res.url }}" target="_blank">{{ res.job_name }}</a>
                    {% else %}
                        {{ res.job_name|elweizhi|safe }}
                    {% endif %}
                </td>
                <td>{{ res.location|elweizhi }}</td>
                <td>{{ res.education_requirement|elweizhi }}</td>
                <td>{{ res.experience_requirement|elweizhi }}</td>
                <td>{{ res.salary_range|elweizhi }}</td>
            </tr>
        {% endfor %}
    </table>
</div>

<script>
    hidetrbox();
</script>
